package request

type UserAdd struct {
	Name     string ` json:"name"  binding:"required"`     // 姓名
	Password string ` json:"password"  binding:"required"` // 密码
	Money    int    ` json:"money"  binding:"required"`    // 金钱

}
type UserLogin struct {
	Name     string ` json:"name"  binding:"required"`     // 姓名
	Password string ` json:"password"  binding:"required"` // 密码

}
type RoomAdd struct {
	Name     string `json:"name" binding:"required"`     // 直播间名称
	Describe string `json:"describe" binding:"required"` // 直播间描述
	Brief    string ` json:"brief" binding:"required"`   // 直播间简介

}
type RoomList struct {
	Id uint64 `json:"id"  binding:"required"`
}
type RoomUpdate struct {
	Id    uint64 `json:"id"  binding:"required"`
	Brief string ` json:"brief" binding:"required"` // 直播间简介

}
type RoomDelete struct {
	Id uint64 `json:"id"  binding:"required"`
}
type CommentAdd struct {
	Comment string ` json:"comment"  binding:"required"` // 评论内容
	RoomId  int64  `json:"room_id"  binding:"required"`  // 直播间id

}
type CommentList struct {
	RoomId int64 `json:"room_id"  binding:"required"` // 直播间id

}
type CommentUpdate struct {
	Comment string ` json:"comment"  binding:"required"` // 评论内容
	Id      uint64 `json:"id"  binding:"required"`
}

type CommentDelete struct {
	Id uint64 `json:"id"  binding:"required"`
}
type ReceiveAdd struct {
	GiftId    int64  ` json:"gift_id"`    // 礼物id
	Notes     string ` json:"notes"`      // 接收礼物备注
	ReceiveId int64  ` json:"receive_id"` // 接收礼物id
	RoomId    int64  ` json:"room_id"`    // 直播间id

}
type ReceiveList struct {
	RoomId int64 `gorm:"column:room_id;type:bigint(20);comment:直播间id;not null;" json:"room_id"` // 直播间id

}
type ReceiveUpdate struct {
	Notes string `gorm:"column:notes;type:varchar(255);comment:接收礼物备注;not null;" json:"notes"` // 接收礼物备注
	Id    uint64 `json:"id"  binding:"required"`
}
